Microsoft maintains a port of OpenSSH for Windows. You can use the package to set up an SFTP / SSH server on Windows. Go to Settings > System > Optional features and click on View features. Locate “OpenSSH server” feature, select it, cli
Now you can connect to your Windows SSH server using the SFTP protocol. Next, we’ll show you how to connect to an SFTP server using the free WinSCP client, the PowerShell console, and the built-in sftp.exe tool.